﻿<%@ Page Language="C#" MasterPageFile="~/A_LetsDeal/MasterPage.master" AutoEventWireup="true" CodeFile="quanlyctdh.aspx.cs" Inherits="A_LetsDeal_quanlyctdh"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
 <div style="float:right;">
            <asp:Button CssClass="buttonsearch" Text="Tìm kiếm" runat="server" 
                  ID="bt_timkiem" onclick="bt_timkiem_Click"/>
                </div>            
            <div style="float:right;">
            <asp:TextBox ID="txt_timkiem"  CssClass="textsearch" runat="server"/>
            </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="tieude" style="margin-top:-32px;background-color:white;">
            <div class="tieude-text" style="color:Blue">Chi tiết đơn đặt hàng</div></div>
    <div class="noidung" >
        <span><font>Đơn hàng</font></span>
        <center>
        <table width="80%" cellspacing="1" cellpadding="3" border="0">
        <tr>
                <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Mã đơn hàng:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_mahoadon" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Khách hàng:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_khachhang" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Ngày đặt:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_ngaydat" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Trị giá:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_trigia" runat="server"></asp:Literal>
                 </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Đã giao:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:CheckBox ID="cb_giaohang" runat="server" Enabled="false"/>
                     <asp:HyperLink ID="hyp_update" runat="server" Text="Đã giao"></asp:HyperLink>
                         
                                                    </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Địa chỉ nhận voucher:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_dcnh" runat="server"></asp:Literal>
                     
                </td>
            </tr>
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Hình thức thanh toán:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:Literal ID="lit_httt" runat="server"></asp:Literal>
                </td>
            </tr> 
            <tr>
                 <td style="width:20%;border:solid 1px #808080;padding-left:15px;background-color:InactiveCaption">
                Đã thanh toán:
                </td>
                 <td style="border:solid 1px #808080;padding-left:10px">
                     <asp:CheckBox ID="chb_dathanhtoan" runat="server" Enabled="false"/>
                     <asp:HyperLink ID="hyp_thanhtoan" runat="server" Text="Bạn chưa thanh toán, thanh toán ngay ?"></asp:HyperLink>
                </td>
            </tr> 
        </table>
        </center>
    

 
        
        
<div style="padding:12px 12px 12px 12px ;">
    <div>       
        <div>
            Chi tiết đặt hàng
        </div>
        <div style="width:100%;">
        </div>
        <div>
        <asp:Repeater ID="Repeater1" runat="server" onitemdatabound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr style="FONT-WEIGHT: bold;FONT-FAMILY: Arial, Helvetica, sans-serif;BACKGROUND-COLOR: #eeeeee;text-align:left;">
                        <th>Tên sản phẩm</th>                        
                        <th>Số lượng</th>
                        <th>Đơn giá</th>
                        <th>Thành tiền</th>
                        
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_tensp" runat="server" /></td>
                <td align="center" style="border:solid 1px black;"><asp:Literal ID="lit_soluong" runat="server" /></td>
                <td style="border:solid 1px black;"><asp:Literal ID="lit_dongia" runat="server" /></td>                                
                <td style="border:solid 1px black;"><asp:Literal ID="lit_thanhtien" runat="server" /></td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
     </div>
       </div>
</div>
</div>
</asp:Content>

